<div class="panel panel-primary">
	<?php
		$roleId = 0;
		if(Session::has("user")){
			$roleId = Session::get("user")["role_id"];
			$validate_state = Session::get("user")["validate_state"];
		}
	?>

	@if ($roleId == 1)
	<div class="panel-heading navTil no_padding">
		<div class="row  no_margin">
			<div class="navBtn no_padding"></div>
		</div>
		<div class="row navMP">
			<div class="col-xs-2 naviRzt"><img src="<%url('user/img/rz_icon.png')%>" class="text-right" height="20" width="20" alt=""></div>
			<div class="col-xs-9 naviRz"><a href="<%url('uc/select_type')%>">企业认证</a></div>
		</div>
	</div>
	@endif


	<div class="panel-heading">
		<h3 class="panel-title">帐号设置</h3>
	</div>
	<div class="panel-body uc_side_bar">
		<ul class="list-group">
			<li class="list-group-item<% isset($is_profile) && $is_profile ? ' active' : ''%>">
				<a href="<%url('uc/profile')%>"><i class="fa fa-info-circle"></i> 用户信息</a>
			</li>
			<li class="list-group-item<% isset($is_avatar) && $is_avatar ? ' active' : ''%>">
				<a href="<%url('uc/avatar')%>"><i class="fa fa-user"></i> 用户头像</a>
			</li>

		@if($validate_state == 2)

			@if($roleId == env('ENERGY'))
				<li class="list-group-item<% isset($is_energy_info) && $is_energy_info ? ' active' : ''%>">
					<a href="<%url('uc/energy/groupinfo')%>"><i class="fa fa-file-text"></i> 基本信息</a>
				</li>
				<li class="list-group-item<% isset($is_energy_project) && $is_energy_project ? ' active' : ''%>">
					<a href="<%url('uc/energy/project')%>"><i class="fa fa-cubes"></i> 项目</a>
				</li>
				<!-- <li class="list-group-item<% isset($is_energy_news) && $is_energy_news ? ' active' : ''%>">
					<a href="<%url('uc/energy/news')%>"><i class="fa fa-bars"></i> 资讯</a>
				</li> -->
			@elseif ($roleId == env('SAVER'))

				<li class="list-group-item<% isset($is_saver_info) && $is_saver_info ? ' active' : ''%>">
					<a href="<%url('uc/saver/groupinfo')%>"><i class="fa fa-file-text"></i> 基本信息</a>
				</li>
				<li class="list-group-item<% isset($is_saver_industry) && $is_saver_industry ? ' active' : ''%>">
					<a href="<%url('uc/saver/industryinfo')%>"><i class="fa fa-file-text-o"></i> 行业信息</a>
				</li>
				<li class="list-group-item<% isset($is_saver_project) && $is_saver_project ? ' active' : ''%>">
					<a href="<%url('uc/saver/project')%>"><i class="fa fa-cubes"></i> 项目</a>
				</li>
				<!-- <li class="list-group-item<% isset($is_saver_news) && $is_saver_news ? ' active' : ''%>">
					<a href="<%url('uc/saver/news')%>"><i class="fa fa-bars"></i> 资讯</a>
				</li> -->
				<li class="list-group-item<% isset($saver_finance) && $saver_finance ? ' active' : ''%>">
					<a href="<%url('uc/saver/finance')%>"><i class="fa fa-usd"></i> 融资</a>
				</li>
			@elseif ($roleId == env('DEVICE_TECH'))
				<li class="list-group-item<% isset($is_device_info) && $is_device_info ? ' active' : ''%>">
					<a href="<%url('uc/devicetech/groupinfo')%>"><i class="fa fa-file-text"></i> 基本信息</a>
				</li>
				<li class="list-group-item<% isset($is_device_industry) && $is_device_industry ? ' active' : ''%>">
					<a href="<%url('uc/devicetech/industryinfo')%>"><i class="fa fa-file-text-o"></i> 行业信息</a>
				</li>
				<!-- <li class="list-group-item<% isset($is_device_news) && $is_device_news ? ' active' : ''%>">
					<a href="<%url('uc/devicetech/news')%>"><i class="fa fa-bars"></i> 资讯</a>
				</li> -->
				<li class="list-group-item<% isset($is_device) && $is_device ? ' active' : ''%>">
					<a href="<%url('uc/devicetech/device')%>"><i class="fa fa-cogs"></i> 设备</a>
				</li>
				<li class="list-group-item<% isset($is_tech) && $is_tech ? ' active' : ''%>">
					<a href="<%url('uc/devicetech/tech')%>"><i class="fa fa-th"></i> 技术</a>
				</li>
				<li class="list-group-item<% isset($saver_finance) && $saver_finance ? ' active' : ''%>">
					<a href="<%url('uc/devicetech/finance')%>"><i class="fa fa-usd"></i> 融资</a>
				</li>
			@elseif ($roleId == env('THIRD'))
				<li class="list-group-item<% isset($is_third_info) && $is_third_info ? ' active' : ''%>">
					<a href="<%url('uc/third/groupinfo')%>"><i class="fa fa-file-text"></i> 基本信息</a>
				</li>
				<li class="list-group-item<% isset($is_third_industry) && $is_third_industry ? ' active' : ''%>">
					<a href="<%url('uc/third/industryinfo')%>"><i class="fa fa-file-text-o"></i> 行业信息</a>
				</li>
				<!-- <li class="list-group-item<% isset($is_third_news) && $is_third_news ? ' active' : ''%>">
					<a href="<%url('uc/third/news')%>"><i class="fa fa-bars"></i> 资讯</a>
				</li> -->
			@elseif ($roleId == env('ASSOCIATION'))
				<li class="list-group-item<% isset($is_ass_info) && $is_ass_info ? ' active' : ''%>">
					<a href="<%url('uc/ass/groupinfo')%>"><i class="fa fa-file-text"></i> 基本信息</a>
				</li>
				<li class="list-group-item<% isset($is_ass_project) && $is_ass_project ? ' active' : ''%>">
					<a href="<%url('uc/ass/project')%>"><i class="fa fa-cubes"></i> 项目</a>
				</li>
				<!-- <li class="list-group-item<% isset($is_ass_news) && $is_ass_news ? ' active' : ''%>">
					<a href="<%url('uc/ass/news')%>"><i class="fa fa-bars"></i> 资讯</a>
				</li> -->
			@elseif ($roleId == env('GOVERNMENT'))
				<li class="list-group-item<% isset($is_gov_info) && $is_gov_info ? ' active' : ''%>">
					<a href="<%url('uc/gov/groupinfo')%>"><i class="fa fa-file-text"></i> 基本信息</a>
				</li>
				<li class="list-group-item<% isset($is_gov_project) && $is_gov_project ? ' active' : ''%>">
					<a href="<%url('uc/gov/project')%>"><i class="fa fa-cubes"></i> 项目</a>
				</li>
				<!-- <li class="list-group-item<% isset($is_gov_news) && $is_gov_news ? ' active' : ''%>">
					<a href="<%url('uc/gov/news')%>"><i class="fa fa-bars"></i> 资讯</a>
				</li> -->
			@endif

		@endif
				<li class="list-group-item">
					<a href="<%url('collect')%>"><i class="fa fa-cubes"></i> 收藏夹</a>
				</li>
		</ul>
	</div>
</div>